package annotation;

import java.lang.annotation.*;

/**
 * @Description:水果颜色
 * @author: me@longlonggo.com
 * @Date: 2018/12/11
 */
@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface FruitColor {

    public enum Color{ BLUE, RED, GREEN};

    Color fruitColor() default Color.GREEN;
}
